<script setup lang="ts">

import GlobalHeader from "@/components/GlobalHeader.vue";

</script>

<template>
  <div id="basicLayout">
    <a-layout style="min-height: 100vh">
      <!--      头部-->
      <a-layout-header class="header">
        <global-header/>
      </a-layout-header>
      <!--      内容部分-->
      <a-layout-content class="content">
        <router-view/>
      </a-layout-content>
      <!--      底部版权部分-->
      <a-layout-footer class="footer">
        <a href="https://gitee.com/camellia_codebo" target="_blank">
          by camellia_codebo
        </a>
      </a-layout-footer>
    </a-layout>
  </div>
</template>

<style scoped>
#basicLayout {
  .header {
    background-color: white;
    color: unset;
    margin-bottom: 16px;
    padding-inline: 20px;
  }

  .content {
    //padding: 30px;
    padding-left: 40px;
    padding-top: 16px;
    background: linear-gradient(to right, #fefefe, #fff);
    margin-bottom: 30px;
  }

  .footer {
    background-color: #efefef;
    padding: 16px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
  }
}
</style>
